home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / editor / wf314.zip / WF311DOC.ZIP / DOCS / WF.C < prev    next >
Text File  |  1992-01-31  |  49KB  |  998 lines

  1. .f3                              - # -              Appendix C - Examples & Tips
  2. .rm70
  3. .tc
  4. .tc C. EXAMPLES & TIPS ....................................#
  5. APPENDIX C   EXAMPLES & TIPS
  6.  
  7. .irTIPS;   see also Appendix C
  8. This appendix consists of examples of various Word Fugue features.
  9. They are in addition to the examples distributed throughout the
  10. manual, and in the tutorial. The examples are intended to give you
  11. ideas for using Word Fugue in your own work or to help you with a
  12. particular application. Because Word Fugue users often have questions
  13. relating to merge printing, many of these examples are related to
  14. merge printing applications.
  15.  
  16. .tc    Changing Page Length and Line Height ...............#
  17. Changing Page Length and Line Height
  18.  
  19. Suppose you are printing a document for readers with visual
  20. impairment. You plan to use double width characters on paper that is
  21. 14 inches long. You also plan to increase the line height in order to
  22. increase the separation between lines.
  23.  
  24. By default, Word Fugue assumes that you are using American standard
  25. 8½-by-11-inch paper with 6 lines of text to the inch. This example
  26. shows you how to set up a document for paper 14 lines long, with 4
  27. lines per inch.
  28.  
  29. First, you must tell Word fugue of the new page length. At the default
  30. of 6 lines per inch, 14 inch paper is 6 * 14 = 84 lines. So in order
  31. to tell Word Fugue that you are using 14 inch paper, use the .PL
  32. command to set the page length to 84.
  33.  
  34.         .PL 84
  35.  
  36. Now, use the .LH command to set the appropriate line height, and Word
  37. Fugue will calculate the correct number of lines per page at this
  38. height. You must have set the page length first, or Word Fugue will
  39. assume that you are using 66 line paper. The default line step is
  40. measured in 1/48ths of an inch - if your printer does not use this,
  41. then you must determine the appropriate step and number. At 4 lines
  42. per inch, you need 12/48ths of an inch per line:
  43.  
  44.         .LH 12    
  45.         .LH 18/72            if your printer uses 1/72nds of an inch
  46.         .LH 54/216           if your printer uses 1/216ths of an inch
  47.  
  48. Word Fugue will calculate the new number of lines that will fit on a
  49. page - 84/12*8 = 56 lines. (Or 14*4 = 56!). Subtract of the margins
  50. from the new page length to determine how many lines in the text body:
  51. 56-5-4=47. Thus there will be 47 text lines to the page. (Please note
  52. that this is not a figure for the .PL command.)
  53.  
  54. If you are using double width characters, you should change the right
  55. margin to 33 to fit on the line (.RM33) and you should change the page
  56. offset to 5 (.PO5) since these are measured in characters.
  57.  
  58. .CP10
  59. .tc    Double Spaced Text .................................#
  60. Double Spaced Text
  61. .ixDouble;Double Spaced Text (.LH)
  62.  
  63. If you need to print text double spaced, you actually want to print 3
  64. lines per inch instead of the normal 6. You do this by changing the
  65. line height. At 6 lines per inch, the line height was 8/48 inches. To
  66. print 3 lines per inch, you need to double the line spacing to 16/48
  67. inches:
  68.  
  69.         .LH 16
  70.  
  71. Again, you should place this command at the top of your text.
  72.  
  73. .CP6
  74. .tc    Selective Printing of Page Numbers .................#
  75. Selective Printing of Page Numbers
  76.  
  77. If you are printing a manual such as this, you probably do not want
  78. page numbers on the title page, you want to use lower case roman
  79. numerals for the table of contents, and ordinary numbers starting from
  80. one at the first page of the first chapter. The following example
  81. shows you how to do this.
  82.  
  83.  
  84.    ┌─────────────────────────────────────────────────────────────────┐
  85.    │            .po10                                                │
  86.    │            .rm70                                                │
  87.    │            .mt5                                                 │
  88.    │            .mb4                                                 │
  89.    │            .pl66                                                │
  90.    │                                                                 │
  91.    │                 Word Fugue                                      │
  92.    │                                                                 │
  93.    │                 User's Guide                                    │
  94.    │                                                                 │
  95.    │            .pa                                                  │
  96.    │            --------------------- (page break) ---------------   │
  97.    │            .H1        WORD FUGUE USERS GUIDE                    │
  98.    │            .H2        TABLE OF CONTENTS                         │
  99.    │            .h3 ──────────────────────────────────────────────   │
  100.    │            .PA                                                  │
  101.    │            .f1                                                  │
  102.    │            .f2 ──────────────────────────────────────────────   │
  103.    │            .f3               - # -                              │
  104.    │ A ─────────.pn1                                                 │
  105.    │ B ─────────.pt r                                                │
  106.    │ C ─────────.fiwf.toc  contains the text for table of contents   │
  107.    │            .pa                                                  │
  108.    │            --------------------- (page break) ---------------   │
  109.    │            .H1        WORD FUGUE USERS GUIDE                    │
  110.    │            .h2 ──────────────────────────────────────────────   │
  111.    │ D ─────────.H3                                                  │
  112.    │ E ─────────.pn1                                                 │
  113.    │ F ─────────.pt n                                                │
  114.    │                                                                 │
  115.    │                        [Text]                                   │
  116.    │                                                                 │
  117.    └─────────────────────────────────────────────────────────────────┘
  118.  
  119.  
  120.  
  121. For the sample book on the previous page, printing starts without page
  122. numbers on the title page. (This is the default, so the .OP command is
  123. not needed). The .PA command starts a new page for the table of
  124. contents. The footing with the # will cause page numbers to be printed
  125. from then on. However, the first page of the table of contents is
  126. physically the second page of the document, and Word Fugue will have
  127. set the page number to 2. Thus the line labelled A (.PN1) resets the
  128. page number to 1 for the table of contents.
  129.  
  130. We want lowercase roman Numerals for the contents, so line B (.PT r)
  131. will set page numbers to be printed in lower case roman numerals. The
  132. table of contents is held in a separate file WF.TOC and so is copied
  133. in using the .FI file include command at line C.
  134.  
  135. At the end of the table of contents we take a new page and change the
  136. heading. Line D blanks heading line 3. Line E resets the page number
  137. back to 1 again for the first chapter. Line F changes the page number
  138. type back to ordinary numbers.
  139.  
  140. .tc    Printing the First Page on Letterhead ..............#
  141. Printing the First Page of a Document on Letterhead
  142.  
  143. This is the format for the first page of an organisation's formal
  144. correspondence on preprinted letterhead.
  145.  
  146.  
  147.       ┌────────────────────────────────────────────────────────────┐
  148.       │                                                            │
  149.       │ ..STATIONARY FORMAT                                        │
  150.       │ ..FIRST PAGE                                               │
  151.       │ .RRL    !        !       !       !                   R     │
  152.       │ .MT10                                                      │
  153.       │ .MB5                                                       │
  154.       │ .PO14                                                      │
  155.       │                                           {.@D8}           │
  156.       └────────────────────────────────────────────────────────────┘
  157.  
  158. The large top margin of 10 accommodates the preprinted letterhead. The
  159. {.@D8} causes the current dat